package com.zhida.smartcontrol.dialog.kgsjdialog;

import com.jay.tools.ui.ButtonStyle;
import com.zhida.smartcontrol.common.bean.LampBean;
import com.zhida.smartcontrol.mvp.BasePresenter;
import com.zhida.smartcontrol.mvp.BaseView;

import java.util.List;

public class KgsjDialogContract {
    interface View extends BaseView {

        void onSuccess();

        void showButton(int size);
    }

    interface Presenter extends BasePresenter<View> {

        void showWayButton(String switchType);

        /**
         * @param timeArr 时间组合
         * @param week    星期
         * @param way     通道
         */
        void requestSetTime(List<LampBean> codeList, String[] timeArr, List<ButtonStyle> week, List<ButtonStyle> way);
    }
}
